package vip.mall.modular.user.params;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author:秋刀鱼
 * @date:2025/2/23 16:06
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "修改密码参数类")
public class EditUserPasswordParams {
    @Schema(description = "用户Id")
    @NotBlank(message = "用户ID不能为空")
    private String id;
    @Schema(description = "新密码")
    @NotBlank(message = "用户新密码不能为空")
    private String newPassword;
    @Schema(description = "旧密码")
    @NotBlank(message = "用户旧密码不能为空")
    private String oldPassword;
}
